PEditLayout
Switches to layout view of the current publication.
Command constructor
PEditLayout();
Story editor only. The PEditLayout command works only in the story
editor.
Location displayed depends on active story. Which page or pages PageMaker
displays in layout view depends upon the story active at the time the command
is sent. If the active story:
- Has been placed, PageMaker turns to the page (or pages, for facing
pages) containing the insertion point or selected text. The story remains
open in story editor, though inactive.
- Has not been placed, PageMaker returns to the previously active page
(or pages, for facing pages) and displays the loaded text gun.
- Is empty, PageMaker closes the empty story window and returns to the
previously active page (or pages, for facing pages).
Exceptions. If the story editor is not active, PEditLayout throws a CQ_LO_INVALID_MODE
exception.
Example. The following example switches to layout view of the currently
active publication.
PEditLayout();
See also
The PEditStory command
The PGetPMState query
Adobe PageMaker 6.5 Help > Commands > Story > Edit Layout
Copyright © 1996, Adobe Systems Incorporated. All rights reserved.
Comments or suggestions? Contact Adobe
Developer Support